package com.peycard.persistence.dao.local;
import java.sql.Timestamp;

import javax.ejb.Local;

import com.peycard.persistence.PersistenceException;
import com.peycard.persistence.entities.ValidSession;

@Local
public interface ValidSessionDAOLocal extends GenericDAO<ValidSession, Long>{
	
	ValidSession findReq(ValidSession vs) throws PersistenceException;

	long tryLogin(String us,int pc,Timestamp datetime) throws PersistenceException;
}
